package cn.tedu.car.backend.vehicle.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class VehicleQuery {
    @ApiModelProperty(value = "车辆id")
    private Long id;
    @ApiModelProperty(value = "车辆名称")
    private String name;
    @ApiModelProperty(value = "车牌号")
    private String license;
    @ApiModelProperty(value = "车辆品牌")
    private String brand;
    @ApiModelProperty(value = "车辆型号")
    private String model;
    @ApiModelProperty(value = "车辆类型")
    private String type;
    @ApiModelProperty(value = "座位数量")
    private Integer seatNumber;
    @ApiModelProperty(value = "租赁价格")
    private Double priceMin;
    private Double priceMax;
    @ApiModelProperty(value = "所属套餐")
    private Long comboId;
    @ApiModelProperty(value = "车辆网点")
    private Long outletsId;
    //前端第一步:查询数据之前需要把当前页码以及每页显示多少条传给服务器
    //searchForm.value.pageSize = currentSize.value;
    //searchForm.value.pageNum = currentPage.value;
    //前端传入分页参数  当前页面展示条数
    @ApiModelProperty(value = "每页记录数")
    private Integer pageSize;
    //前端传入分页参数  当前查询页数
    @ApiModelProperty(value = "页码")
    private Integer pageNum;
    private String status;
}
